<template>
  <el-row style="padding: 10px">
    <el-card>
      <!-- 抽离form表单 -->
      <FormQuestions @on-get-fn="onGetFn" />
      <!-- 抽离table表单 -->
      <TableQues ref="refTable"/>
    </el-card>
  </el-row>
</template>

<script>
import FormQuestions from './QuestionsList/formQuestions'
import TableQues from './QuestionsList/TableQues'
export default {
  components: {
    FormQuestions,
    TableQues
  },
  methods: {
    onGetFn (data) {
      this.$refs.refTable.hGetList(data)
    }
  }
}
</script>

<style scoped lang='scss'>

</style>
